﻿using System.Collections.Generic;

namespace Utk
{
    enum EntryTypeSource
    {
        Classificator,
        User
    }

    class EntryTypeConfidence
    {
        public EntryType EntryType;
        public double Confidence;
        public EntryTypeSource Source;

        public override string ToString()
        {
            return string.Format("{0} : {1} ({2})", EntryType, Confidence, Source);
        }
    }

    class Entry
    {
        public string Text;

        public readonly List<EntryTypeConfidence> Types = new List<EntryTypeConfidence>();

        public override string ToString()
        {
            return Text;
        }
    }
}